package org.example.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.domain.po.ErpMaterialExtend;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 24059
* @description 针对表【erp_material_extend(产品价格扩展)】的数据库操作Mapper
* @createDate 2024-11-04 08:34:54
* @Entity org.example.domain.po.ErpMaterialExtend
*/
@Mapper
public interface ErpMaterialExtendMapper extends BaseMapper<ErpMaterialExtend> {
    int insertMaterialExtend(ErpMaterialExtend materialExtend);
    int deleteByMaterialId(@Param("materialId") Long materialId);

    int updateMaterialExtend(ErpMaterialExtend extend);
    List<ErpMaterialExtend> selectByMaterialId(@Param("materialId") Long materialId);
}




